﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] arr = new int[10];
            string[] word = new string[] { "我的我的", "你的你的" };
            int[] arry = { 12, 23 };
            for (int i = 0; i < word.Length; i++)
            {
                Console.WriteLine(word[i]);
            }


            double[,] arm = { { 90, 80 }, { 100, 89 }, { 88.5, 86 } };
            for (int i = 0; i < arm.GetLength(0); i++)
            {
                Console.WriteLine("第" + (i + 1) + "组：");
                for (int j = 0; j < arm.GetLength(1); j++)
                {
                    Console.Write(arm[i, j] + " ");
                }
                Console.WriteLine();
            }
            double[] arrthree = { 12.3, 13.2, 14.7, 15.6, 16.7 };
            double sum = 0;
            double avg = 0;
            foreach (double arrt in arrthree)
            {
                sum = sum + arrt;
            }
            avg = sum / arrthree.Length;
            Console.WriteLine("总成绩为：" + sum);
            Console.WriteLine("平均成绩为：" + avg);
        }
    }
}
    
